name: {{ item.inventory_hostname }}
data-dir: {{ item.etcd.data_dir }}
wal-dir: {{ item.etcd.wal_dir }}
listen-peer-urls: "https://{{ item.private_host }}:2380"
listen-client-urls: "https://{{ item.private_host }}:2379,https://localhost:2379"
initial-advertise-peer-urls: "https://{{ item.private_host }}:2380"
advertise-client-urls: "https://{{ item.private_host }}:2379"
initial-cluster: "{{ etcd_initial_cluster | join(',') }}"
initial-cluster-token: {{ item.etcd.initial_cluster_token }}
initial-cluster-state: {{ item.etcd.initial_cluster_state }}
client-transport-security:
  cert-file: {{ item.etcd.cert_file }}
  key-file: {{ item.etcd.key_file }}
  client-cert-auth: true
  trusted-ca-file: {{ item.etcd.trusted_ca_file }}
  auto-tls: true
peer-transport-security:
  cert-file: {{ item.etcd.cert_file }}
  key-file: {{ item.etcd.key_file }}
  client-cert-auth: true
  trusted-ca-file: {{ item.etcd.trusted_ca_file }}
  auto-tls: true
debug: false
logger: zap
log-outputs: [stderr]
auto-compaction-mode: periodic
auto-compaction-retention: "1"